package com.yang.springbootDemo.controller;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * spring boot启动类
 * @author liuyang
 *
 * 2018年8月3日 下午4:15:20
 */
@SpringBootApplication
@MapperScan("com.yang.springbootDemo.dao")
public class ApplicationMain extends SpringBootServletInitializer{

	public static void main(String[] args) throws Exception {
		SpringApplication.run(ApplicationMain.class, args);
	}

}
